/**
 * output package name
 */
package com.kingdee.eas.custom.hr.applyinform;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class DomicileEnum extends StringEnum
{
    public static final String OWNER_VALUE = "1";
    public static final String HOSTEL_VALUE = "2";
    public static final String OTHER_VALUE = "3";

    public static final DomicileEnum OWNER = new DomicileEnum("OWNER", OWNER_VALUE);
    public static final DomicileEnum HOSTEL = new DomicileEnum("HOSTEL", HOSTEL_VALUE);
    public static final DomicileEnum OTHER = new DomicileEnum("OTHER", OTHER_VALUE);

    /**
     * construct function
     * @param String domicileEnum
     */
    private DomicileEnum(String name, String domicileEnum)
    {
        super(name, domicileEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static DomicileEnum getEnum(String domicileEnum)
    {
        return (DomicileEnum)getEnum(DomicileEnum.class, domicileEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(DomicileEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(DomicileEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(DomicileEnum.class);
    }
}